package com.example.zhaoping.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
//多加了公司名称
public class JobsVo {
    @ApiModelProperty(value = "职位ID")
    private Integer id;

    @ApiModelProperty(value = "公司ID")
    private Integer companyId;

    @ApiModelProperty(value = "公司名称")
    private String name;

    @ApiModelProperty(value = "职位标题，例如软件工程师、产品经理等")
    private String title;

    @ApiModelProperty(value = "职位描述")
    private String description;

    @ApiModelProperty(value = "薪资范围")
    private String salaryRange;

    @ApiModelProperty(value = "工作地点")
    private String location;

    @ApiModelProperty(value = "任职要求：对候选人的学历、经验、技能等方面的要求")
    private String requirements;

    @ApiModelProperty(value = "招聘信息发布的日期")
    private LocalDate publishDate;

    @ApiModelProperty(value = "应聘申请的截止日期")
    private LocalDate applicationDeadline;

    @ApiModelProperty(value = "负责该岗位招聘的联系人姓名")
    private String contactName;

    @ApiModelProperty(value = "联系人的电话")
    private String contactPhone;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedTime;
}
